Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rootNode.getAllContext() returns empty object #2483

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Conversation

nvinson
Copy link
Contributor

@nvinson nvinson commented Oct 4, 2024

Correct getAllContext() to return the root node's context in addition to specified defaults.

Fixes: #2239

@nvinson nvinson changed the title Correct getAllContext() behavior fix: Correct getAllContext() behavior Oct 4, 2024
@nvinson nvinson force-pushed the 10.x branch 6 times, most recently from 5d61f05 to 1c71455 Compare October 9, 2024 03:14
Correct getAllContext() to return the root node's context in addition to
specified defaults.

Closes: aws#2239
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
@mrgrain mrgrain changed the title fix: Correct getAllContext() behavior fix: rootNode.getAllContext() returns empty object Oct 10, 2024
src/construct.ts Outdated Show resolved Hide resolved
test/construct.test.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@mrgrain mrgrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@mergify mergify bot merged commit 1eb4dca into aws:10.x Oct 10, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

app.getAllContext() returns empty object
2 participants